<?php
/* 
 * 服务基础类
 * @remark  实现接口，并做了父类
 * 
 * @auther  peter.xiao
 */

namespace app\common\service;

class BaseService {
    public $serviceError = array();
    
    public function __construct() {}
    
    
    /**
     * 添加错误信息到error
     */
    protected function _addError($error = '') {
        if($error == '') return false;
        $this->serviceError[] = $error;
        return false;
    }
       
    
    
    
}